<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
				content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>全国青少年电子信息智能创新大赛</title>
	<link rel="icon" href="./images/logo.png">
	<link rel="stylesheet" href="./lib/layui/css/modules/layer/default/layer.css">
	<link rel="stylesheet" href="./lib/layui/css/layui.css">
	<link rel="stylesheet" href="./css/exam.css">
	<link rel="stylesheet" href="./lib/layui/css/modules/layer/default/layer.css">
	<script src="./lib/layui/layui.js"></script>
	<script src="./lib/layui/lay/modules/layer.js"></script>
</head>
<body>
<section class="wrapper" v-cloak>
	<common-header active-path="match-item.html"></common-header>

		<iframe src ="" frameborder="0" id="chushihua" style="width:100%;height:500px">

	</iframe>

	<common-footer></common-footer>
</section>
<script src="./js/jquery.min.js"></script>
<script src="./lib/layui/layui.js"></script>
<script src="./lib/layui/lay/modules/layer.js"></script>
<script src="./js/vue.min.js"></script>
<script src="../js/abkj/slAjax.js"></script>
<script src="../js/abkj/fun_tool.js"></script>
<script src="../js/abkj/ext/news.js"></script>
<script src="./js/common.js"></script>
<script src="../js/abkj/match/api/webinfo.js"></script>
<script src="./components/index.js"></script>
<script>
	function checklogin80(){
		if (localStorage.getItem("token")==undefined||localStorage.getItem("token")==''||localStorage.getItem("token")==null){
			window.location="login.html"
		}
	}
	checklogin80()
	$(function () {
		var toDouble = num => {
			return num >= 10 ? num : '0' + num
		}
		var getTime = function (seconds) {
			if (seconds < 3600) {
				var minutes = parseInt(seconds / 60)
				var sec = parseInt(seconds % 60)
				return `${toDouble(minutes)}:${toDouble(sec)}`
			}
			var hours = parseInt(seconds / 3600)
			var remain = seconds - hours * 3600
			return toDouble(hours) + ':' + getTime(remain)
		}
		var tool = fun_tool()
		var vm = new Vue({
			el: '.wrapper',
			data: {
				time: tool.getUrlParam('time'),
				matchId: tool.getUrlParam('matchId'),
				score: tool.getUrlParam('score'),
				done: true,
			},
			methods: {
				getTime: getTime,
			}
		})
	})
	window.onload=function(){
		document.getElementById("chushihua").src=localStorage.url1
	}
</script>
</body>
</html>
